/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.crossriver.crgis.database.model;

import com.liferay.portal.kernel.annotation.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the History_Of_Information service. Represents a row in the &quot;CRGIA_History_Of_Information&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.crossriver.crgis.database.model.impl.History_Of_InformationModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.crossriver.crgis.database.model.impl.History_Of_InformationImpl}.
 * </p>
 *
 * <p>
 * Never modify or reference this interface directly. All methods that expect a history_ of_ information model instance should use the {@link History_Of_Information} interface instead.
 * </p>
 *
 * @author Wole Adetiba
 * @see History_Of_Information
 * @see com.crossriver.crgis.database.model.impl.History_Of_InformationImpl
 * @see com.crossriver.crgis.database.model.impl.History_Of_InformationModelImpl
 * @generated
 */
public interface History_Of_InformationModel extends BaseModel<History_Of_Information> {
	/**
	 * Gets the primary key of this history_ of_ information.
	 *
	 * @return the primary key of this history_ of_ information
	 */
	public String getPrimaryKey();

	/**
	 * Sets the primary key of this history_ of_ information
	 *
	 * @param pk the primary key of this history_ of_ information
	 */
	public void setPrimaryKey(String pk);

	/**
	 * Gets the history info id of this history_ of_ information.
	 *
	 * @return the history info id of this history_ of_ information
	 */
	@AutoEscape
	public String getHistoryInfoId();

	/**
	 * Sets the history info id of this history_ of_ information.
	 *
	 * @param historyInfoId the history info id of this history_ of_ information
	 */
	public void setHistoryInfoId(String historyInfoId);

	/**
	 * Gets the application id of this history_ of_ information.
	 *
	 * @return the application id of this history_ of_ information
	 */
	@AutoEscape
	public String getApplicationId();

	/**
	 * Sets the application id of this history_ of_ information.
	 *
	 * @param applicationId the application id of this history_ of_ information
	 */
	public void setApplicationId(String applicationId);

	/**
	 * Gets the user id of this history_ of_ information.
	 *
	 * @return the user id of this history_ of_ information
	 */
	@AutoEscape
	public String getUserId();

	/**
	 * Sets the user id of this history_ of_ information.
	 *
	 * @param userId the user id of this history_ of_ information
	 */
	public void setUserId(String userId);

	/**
	 * Gets the old application id of this history_ of_ information.
	 *
	 * @return the old application id of this history_ of_ information
	 */
	@AutoEscape
	public String getOldApplicationId();

	/**
	 * Sets the old application id of this history_ of_ information.
	 *
	 * @param oldApplicationId the old application id of this history_ of_ information
	 */
	public void setOldApplicationId(String oldApplicationId);

	/**
	 * Gets a copy of this history_ of_ information as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
	 *
	 * @return the escaped model instance
	 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
	 */
	public History_Of_Information toEscapedModel();

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public void setEscapedModel(boolean escapedModel);

	public Serializable getPrimaryKeyObj();

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(History_Of_Information history_Of_Information);

	public int hashCode();

	public String toString();

	public String toXmlString();
}